/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_PluginGrid.h
// Purpose:     
// Author:      Aleksey Plotnikov & Alla Nabatova
// Modified by: 
// Created:     19/03/2008 22:57:44
// RCS-ID:      
// Copyright:   Diamant Software
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _dgt_PluginGrid_H_
#define _dgt_PluginGrid_H_

#include "wx/grid.h"
#include "wx/wx.h"

/**********************************************************************************************/
class dgt_PluginGrid : public wxGrid
{
	//DECLARE_DYNAMIC_CLASS (dgt_PluginGrid)	
	DECLARE_EVENT_TABLE()
public:

	dgt_PluginGrid(void);

	dgt_PluginGrid (
		wxWindow* parent, 
		wxWindowID id, 
		const wxPoint& pos = wxDefaultPosition, 
		const wxSize& size = wxDefaultSize, 
		long style = wxWANTS_CHARS, 
		const wxString& name = wxPanelNameStr
		);
	~dgt_PluginGrid();
public:
	//sets labels and creates radio buttons in 0 columns
	void			SetGridMode();
	unsigned			GetPluginCount() {return plugin_count;}
	void				SetPluginCount(unsigned count) {plugin_count=count; }
	void			SetGridSize();
	void			SetCheckBox (unsigned ColNum);
	
private:
	unsigned		plugin_count;
	void			OnPaint(wxPaintEvent& event);
	


};

#endif